// 引入vue
import Vue from 'vue';
//引入App
import App from '@/App.vue';

Vue.config.productionTip=false;
// 引入路由
import router from '@/router';
// 引入全局组件
import Header from '@/components/Header';
import Footer from '@/components/Footer';
import TypeNav from '@/components/TypeNav';
// axios测试
// import request from '@/components/api/request';
// request.get("/api/product/getBaseCategoryList")

// 引入store
import store from '@/store'
Vue.component(Header.name, Header);
Vue.component(Footer.name, Footer);
Vue.component(TypeNav.name, TypeNav);


new Vue({
    render:h=>h(App),
    router,
    // 注册store
    store
}).$mount('#app')